<%@page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*,java.text.*"%>
<%@ page import="java.text.SimpleDateFormat, java.util.Date,java.util.*"%>
<%@ include file="Connections/conDB.jsp" %>
<%
response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", -1); //prevents caching at the proxy server
%>
<% int validaSession = 1; %>
<%@ include file="Connections/session.jsp" %>

<html>
<head>
<title>CIMA v2 - Subir Nuevas Facturas</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="miestilo.css" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" background="images/fondo.jpg">
	<%
				Connection ConnRsFacturas = DriverManager.getConnection(MM_conDB_STRING,MM_conDB_USERNAME,MM_conDB_PASSWORD);
				String queryFacturas ="";
				PreparedStatement StatementRsFacturas =null;
				queryFacturas="DELETE FROM concil_unidad_fact_temp ";
				//out.println("<br> --- " +queryFacturas);
				StatementRsFacturas = ConnRsFacturas.prepareStatement(queryFacturas);
      			StatementRsFacturas.executeUpdate();
				ConnRsFacturas.close();
				out.print("<script>");
				out.print("location.replace('blank.htm');");
				out.print("</script>");

  %>
</body>
<HEAD>
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
</HEAD>
</html>
